package com.dhsc.controller.xtqxgl;

import com.dhsc.domain.ywzx.xtqxgl.XtqxlsVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.xtqxgl.IXtqxlsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: XtqxlsController
 * @Description: 系统权限流水
 * @date: 2023/11/21 9:32
 * @author: gx
 */
@Controller
@RequestMapping("/xtqxgl")
public class XtqxlsController {
    
    @Autowired
    private IXtqxlsService xtqxlsService;

    /**
     * @Title: queryXtqxls
     * @Description: 查询系统权限流水
     * @Param: xtqxlsVo
     * @return: LayuiTableVo
     * @Author: gx
     * @Date: 2023/11/3 16:31
     */
    @ResponseBody
    @RequestMapping(value="/queryXtqxls")
    public LayuiTableVo queryXtqxls(XtqxlsVo xtqxlsVo){
        return xtqxlsService.queryXtqxls(xtqxlsVo);
    }

    /**
     * @Title: updateXtqxlsPass
     * @Description: 复核通过
     * @Param: xtqxlsVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/22 15:44
     */
    @ResponseBody
    @RequestMapping(value="/updateXtqxlsPass")
    public ResponseObject updateXtqxlsPass(XtqxlsVo xtqxlsVo){
        return xtqxlsService.updateXtqxlsPass(xtqxlsVo);
    }

    /**
     * @Title: updateXtqxlsReturn
     * @Description: 复核退回
     * @Param: xtqxlsVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/22 15:44
     */
    @ResponseBody
    @RequestMapping(value="/updateXtqxlsReturn")
    public ResponseObject updateXtqxlsReturn(XtqxlsVo xtqxlsVo){
        return xtqxlsService.updateXtqxlsReturn(xtqxlsVo);
    }

    /**
     * @Title: queryXtyh
     * @Description: 查询系统用户
     * @Param: xtqxlsVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/22 15:43
     */
    @ResponseBody
    @RequestMapping(value="/queryXtyh")
    public ResponseObject queryXtyh(XtqxlsVo xtqxlsVo){
        return xtqxlsService.queryXtyh(xtqxlsVo);
    }

    /**
    * @Title: updateXtyh
    * @Description: 分配用户
    * @Param: xtqxlsVo
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2023/11/22 17:06
    */
    @ResponseBody
    @RequestMapping(value="/updateXtyh")
    public ResponseObject updateXtyh(XtqxlsVo xtqxlsVo){
        return xtqxlsService.updateXtyh(xtqxlsVo);
    }
}
